{% extends "base.html" %}

{% block title %}Antikythera Services{% endblock title %}

{% block content %}

			<div class="span-24 last">
				<h2 class="ui-widget-header ui-corner-top">Antikythera Services</h2>
				<table>
				 {% for study in studies %}
				 	<tr><td><a href="study_detail/{{study.id}}">{{study.title}}</a></td></tr>
				 {% endfor %}
				</table>
			</div>

			<hr />

			<div class="span-24 last">
				<form action="create_study/" method="post">
				<input type="text" name="title"></input>
				<input type="submit" value="Create Study" />
				</form>
			</div>

			<div class="span-24 last"><hr /></div>
{% endblock content %}
